
import request from "../utils/request"


// 获取员工数据
export const ylist = (page,size) => {
    return request({
        url: `/user-manage/list?page=${page}&size=${size}`,
        method: "GET",
    })
}   
// 删除员工
export const clearList=(id)=>{
    return request({
    url:`/user-manage/detele/${id}`,
    method:"GET",
    })
}

// 获取所有员工列表
// export const allIist = () => {
//     return request({
//         url: "/user-manage/all-list ",
//         method: "GET",
//     })
// }
